package cxt.cn.community.entity.Dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/*
 * @Author chenxiaotian
 * @Description:
 * @Date:2023012023/1/11
 * @Time:13:30
 */
@Data
public class ModifyPassword {
    /**
     * 帐号
     */
    @ApiModelProperty("帐号")
    @NotBlank(message = "帐号不能为空")
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty("旧的密码")
    @NotBlank(message = "密码不能为空")
    private String oldPassword;

    /**
     * 密码
     */
    @ApiModelProperty("新的密码")
    @NotBlank(message = "密码不能为空")
    private String newPassword;
}
